<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="${staticServer}/inc/style/main.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/page.css" />
<link rel="stylesheet" href="${staticServer}/css/work_today.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/date/datepicker.css" />
<script src="${staticServer}/inc/js/jquery.js"></script>
<script src="${staticServer}/inc/js/pageset.js"></script>
<script src="${staticServer}/inc/js/datepicker.js"></script>
<script src="${staticServer}/inc/js/infopad.js?2.2"></script>

</head>
<script>
           $(function(){

           });

          var selectMsg = function(){
            	
	             var centre = $("#centre").val();
	            window.location.href=encodeURI("${contextPath}/recruitment/satis_survey_list.htm?centre="+centre);
           }

</script>
<script>
           $(function(){

           });

            function uploadWeekToExcel() {
               $.post('${contextPath}/recruitment/download_survey.json',{
                    datemoth:$("#datemoth").val()
                },function(data){
                    if(data){
                        if(data.name!=null){
                            window.location.href = "http://120.55.241.58//mydata/uploadtea/xls/" + data.name;
                        }
                    }
                });
           


        }
        

</script>
<body>
	<div id="container">
		<div id="title">试用期列表况</div>
		
		<table class="form_table">
			<tbody>
			<tr class="even_row">
				<td>
				 
					<a href="${contextPath}/recruitment/add_satis_survey.htm"><input type="button" value=" 添加员工满意度 "></a>
				 <input type="button" value="下载" onclick="uploadWeekToExcel()"/>
				</td>
			</tr>
			</tbody>
		
		<table>
			<tr class="fields">
				<th width="100">公司制度</th>
				<th width="150">说明</th>
				<th width="100">领导管理</th>
				<th width="150">说明</th>
				<th width="100">氛围和环境</th>
				<th width="150">说明</th>
				<th width="100">当前工作</th>
				<th width="150">说明</th>
				<th width="200">其他意见和建议</th>
			</tr>
			<#list list as list>
				<tr class="even_row">
					<td align="center">
					<#if list.satis_degree1?exists>
                       <#if list.satis_degree1=="1">满意</#if>
                       <#if list.satis_degree1=="2">一般</#if>
                       <#if list.satis_degree1=="3">不满意</#if>
                    </#if>
                    </td>
					<td align="center"><#if list.satis_degree_evaluate1??>${list.satis_degree_evaluate1}</#if></td>
			    	<td align="center">
					  <#if list.satis_degree2?exists>
                         <#if list.satis_degree2=="1">满意</#if>
                          <#if list.satis_degree2=="2">一般</#if>
                          <#if list.satis_degree2=="3">不满意</#if>
                      </#if>
                    </td>
					<td align="center"><#if list.satis_degree_evaluate2??>${list.satis_degree_evaluate2}</#if></td>
					<td align="center">
					  <#if list.satis_degree3?exists>
                         <#if list.satis_degree3=="1">满意</#if>
                          <#if list.satis_degree3=="2">一般</#if>
                          <#if list.satis_degree3=="3">不满意</#if>
                      </#if>
                    </td>
					<td align="center"><#if list.satis_degree_evaluate3??>${list.satis_degree_evaluate3}</#if></td>
					<td align="center">
					  <#if list.satis_degree4?exists>
                         <#if list.satis_degree4=="1">满意</#if>
                          <#if list.satis_degree4=="2">一般</#if>
                          <#if list.satis_degree4=="3">不满意</#if>
                      </#if>
                    </td>
					<td align="center"><#if list.satis_degree_evaluate4??>${list.satis_degree_evaluate4}</#if></td>
					<td align="center"><#if list.satis_degree_evaluate5??>${list.satis_degree_evaluate5}</#if></td>
				</tr>
			</#list>
			
			
		</table>
	</div>
	<div id="pager" style="width: 820px;">
	<ul id="pagination">
		<#if page??>
		<#if page.pagetotal?? && page.pagetotal!="0">
	<#assign pagetotal = page.pagetotal>
	<#else>
	<#assign pagetotal = 1>
	</#if>
			<#if page.currpage??>
	<#assign currpage = page.currpage>
	<#else>
	<#assign currpage = 1>
	</#if>
				<#if currpage==1 >
					<li class="previous-off">上一页</li>
					<#else>
					<li class="previous"><a href="${contextPath}/recruitment/satis_survey_list.htm?currPage=${currpage-1}">上一页</a></li>
					</#if>
					
		<#if pagetotal<=11>
			<#list 1..pagetotal as index_up>  
	           <#if currpage==index_up > 
	           		<li class="current">${index_up}</li>
	           <#else>
	           		<li><a href="${contextPath}/recruitment/satis_survey_list.htm?currPage=${index_up}">${index_up}</a></li>  
	           </#if>  
			</#list>  
		<#else>
			<#if currpage<=8 >
				<#list 1..9 as index_up>  
	           	<#if currpage==index_up >  
	            	<li class="current">${index_up}</li>
	           	<#else>  
	               <li><a href="${contextPath}/recruitment/satis_survey_list.htm?currPage=${index_up}">${index_up}</a></li> 
	           	</#if>
	           	</#list>  
	           	<li>...</li>
	           	<li><a href="${contextPath}/recruitment/satis_survey_list.htm?currPage=${pagetotal}">${pagetotal}</a></li>  
				
			<#elseif (currpage>= 9 && currpage<pagetotal-7)  >	
				<li><a href="${contextPath}/recruitment/satis_survey_list.htm?currPage=1">1</a></li>  
				<li>...</li>
				<#list currpage-3..currpage+3 as index_up>  
	           	<#if currpage==index_up >  
	             <li class="current">${index_up}</li>
	           	<#else>  
	               <li><a href="${contextPath}/recruitment/satis_survey_list.htm?currPage=${index_up}">${index_up}</a></li>  
	           	</#if>
	           	</#list>
				<li>...</li>
	           	<li><a href="${contextPath}/recruitment/satis_survey_list.htm?currPage=${pagetotal}">${pagetotal}</a></li>   
			<#else>
				<li><a href="${contextPath}/recruitment/satis_survey_list.htm?currPage=1">1</a></li> 
				<li>...</li>
				<#list pagetotal-8..pagetotal as index_up>  
	           	<#if currpage==index_up >  
	             <li class="current">${index_up}</li>
	           	<#else>  
	               <li><a href="${contextPath}/recruitment/satis_survey_list.htm?currPage=${index_up}">${index_up}</a></li> 
	           	</#if>
				</#list>  
			</#if>
			
		</#if> 
		<#if currpage==pagetotal >
		 	<li class="previous-off">下一页</li>
		<#else>
			<li class="previous"><a href="${contextPath}/recruitment/satis_survey_list.htm?currPage=${currpage+1}">下一页</a></li>
		</#if>
		<li class="pageinfo">共${page.total}条记录</li>
	</#if>
	</ul>
	</div>
	<div class="emptyline clear"></div>
</body>
</html>